<?php

//路由群组
Route::group(['namespace'=>'Admin','prefix' => 'admin','middleware'=>'admin.login'],function(){
	//主页路由
	Route::get('index','IndexController@index');

	//用户相关路由
	Route::resource('user','UserController');

	//栏目相关
    
    Route::resource('cat','CatController');
});